/**
 * Created by Toma on 2016/3/31.
 */

// 加载模块
require.config({
  //baseUrl: "js", //定义统一的地址.
  paths: {
    "jquery": "jquery.min",
    "score": "score",
    "backbone": "backbone"
  }
});

// 加载哪些模块后执行
require(['jquery', 'score', 'backbone'], function ($, score, backbone){
  // some code here
  $('h1').html('come on baby');
  $('body').append('<p>'+ score.add(2,3) +'</p>');
  score.hello();
  score.dot();
});